﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace bpms.Models
{
    /// <summary>
    /// 订单视图
    /// </summary>
    public class OrderView:Order
    {
        [DisplayName("饮品编号")]
        [Column("product_no", TypeName = "varchar(100)")]
        public string ProductNo { get; set; }

        [DisplayName("饮品名称")]
        [Column("product_name", TypeName = "varchar(100)")]
        public string ProductName { get; set; }

        [DisplayName("顾客")]
        [Column("customer_name", TypeName = "varchar(100)")]
        public string CustomerName { get; set; }
    }
}
